package cn.antblog.thread;

/**
 * @author YangJingyi
 * @date 2021-09-14 17:07
 */
public class Test {
    public static void main(String[] args) {
        //继承 Thread 类实现 多线程
        ThreadClass tc1 = new ThreadClass();

        Tortoise tor = new Tortoise();

        tc1.start();//启动线程1
        tor.start();//启动线程2
    }
}

